package com.itheima.reggie.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.domain.Setmeal;
import com.itheima.reggie.dto.SetmealDto;

import java.util.List;

/**
 * @author 刘付磊
 * @date 2021/10/21 0021
 */
public interface SetmealService extends IService<Setmeal> {

     public void saveWithDish(SetmealDto setmealDto);

    public R<IPage<Setmeal>> page(String name, int page, int pageSize);

    public void removeWithDish(List<Long> ids);

    public R<List<Setmeal>> listWith(Setmeal setmeal);

    public void tatu(String ids);

    public R<SetmealDto> get(Long id);

    public void upDate( SetmealDto setmealDto);
}
